#as: -march=allegrex -mabi=32
#objdump: -dr --prefix-addresses --show-raw-insn -M reg-names=numeric
#name: Sony Allegrex CPU tests

.*:     file format .*


Disassembly of section .text:
0x00000000 7ca43980 	ext	\$4,\$5,0x6,0x8
0x00000004 7ca46984 	ins	\$4,\$5,0x6,0x8
0x00000008 7c073c20 	seb	\$7,\$7
0x0000000c 7c0a4420 	seb	\$8,\$10
0x00000010 7c073e20 	seh	\$7,\$7
0x00000014 7c0a4620 	seh	\$8,\$10
0x00000018 0064100a 	movz	\$2,\$3,\$4
0x0000001c 0064100b 	movn	\$2,\$3,\$4
0x00000020 7c0738a0 	wsbh	\$7,\$7
0x00000024 7c0a40a0 	wsbh	\$8,\$10
0x00000028 7c0738e0 	wsbw	\$7,\$7
0x0000002c 7c0a40e0 	wsbw	\$8,\$10
0x00000030 7c073d20 	bitrev	\$7,\$7
0x00000034 7c0a4520 	bitrev	\$8,\$10
0x00000038 00402817 	clo	\$5,\$2
0x0000003c 00801816 	clz	\$3,\$4
0x00000040 0109001c 	madd	\$8,\$9
0x00000044 0109001d 	maddu	\$8,\$9
0x00000048 0109002e 	msub	\$8,\$9
0x0000004c 0109002f 	msubu	\$8,\$9
0x00000050 0109382d 	min	\$7,\$8,\$9
0x00000054 0109382c 	max	\$7,\$8,\$9
0x00000058 002acf02 	ror	\$25,\$10,0x1c
0x0000005c 002ac902 	ror	\$25,\$10,0x4
0x00000060 0004c823 	negu	\$25,\$4
0x00000064 032ac846 	rorv	\$25,\$10,\$25
0x00000068 008ac846 	rorv	\$25,\$10,\$4
0x0000006c 008ac846 	rorv	\$25,\$10,\$4
0x00000070 70020026 	mtic	\$2,\$0
0x00000074 70000026 	mtic	\$0,\$0
0x00000078 70020024 	mfic	\$2,\$0
0x0000007c 70080024 	mfic	\$8,\$0
0x00000080 bc980004 	cache	0x18,4\(\$4\)
0x00000084 bfba0008 	cache	0x1a,8\(\$29\)
0x00000088 bfa87ff8 	cache	0x8,32760\(\$29\)
0x0000008c bfa48008 	cache	0x4,-32760\(\$29\)
0x00000090 7082003d 	mtdr	\$2,\$0
0x00000094 7002003d 	mfdr	\$2,\$0
0x00000098 7002083d 	mfdr	\$2,\$1
0x0000009c 7083083d 	mtdr	\$3,\$1
0x000000a0 7000003f 	dbreak
0x000000a4 7000003e 	dret
	\.\.\.
